//
// Created by liushuai on 2020/6/3.
//

#ifndef DATASTRUCT_MYCIRCULARQUEUE_H
#define DATASTRUCT_MYCIRCULARQUEUE_H

#include <vector>

class MyCircularQueue {
private:
    int queue_size = 0;
    std::vector<int>q;
public:
    MyCircularQueue(int k);
    bool enQueue(int value);
    bool deQueue();
    int Front();
    int Rear();
    bool isEmpty();
    bool isFull();
};


#endif //DATASTRUCT_MYCIRCULARQUEUE_H
